import"./B603vO-13smUKN.js";import{s as e}from"./DcIns0se4bdVKJ.js";import{D as t,E as n,On as r,Yt as i,_ as a,b as o,bt as s,k as c,mt as l,o as u,qt as d,tr as f,un as p,v as m,y as h}from"./CIxmKYxc4tZcJF.js";import{b as g}from"./DWlEJV-j33On0I.js";import"./DcwiUW8R1GKRvl.js";import{n as _,r as v,t as y}from"./CRXWXnv73Tdqyd.js";import{t as b}from"./AuTu7hII1ERTdj.js";import{t as x}from"./DJeJfhW-4iv1Az.js";import{c as S,i as C,r as w,s as T,t as E}from"./BbxvatETxeTHf.js";import{t as D}from"./B0soNaiAkILqi.js";import"./C3Xax3Tz4BagVD.js";var O={value:``},k=[`value`],A=c({__name:`app-settings-general`,setup(c){let A=T(),j=S(),{currency:M}=D();return(c,S)=>(l(),o(u,null,[a(`h3`,null,f(c.$t(`settings.general.title`)),1),r(A)?(l(),o(u,{key:0},[t(r(x),{title:c.$t(`settings.info.title`)},{default:d(()=>[a(`p`,null,f(r(`receipts@0.1.6+9c0cb06a`)),1)]),_:1},8,[`title`]),r(j)?(l(),m(r(x),{key:0,title:c.$t(`settings.general.deviceName`),description:c.$t(`settings.general.deviceNameDesc`)},{default:d(()=>[t(r(b),{modelValue:r(j).title,"onUpdate:modelValue":S[0]||=e=>r(j).title=e},null,8,[`modelValue`])]),_:1},8,[`title`,`description`])):h(``,!0),t(r(x),{title:c.$t(`settings.locale.title`)},{default:d(()=>[i(a(`select`,{"onUpdate:modelValue":S[1]||=e=>p(w)?w.value=e:null,class:`oui-select`},[a(`option`,O,f(c.$t(`settings.locale.automatic`)),1),(l(!0),o(u,null,s(r(C),e=>(l(),o(`option`,{key:e,value:e},f(c.$t(`settings.locale.${e}`)),9,k))),128))],512),[[g,r(w)]])]),_:1},8,[`title`]),t(r(x),{title:c.$t(`settings.formatLocale.title`)},{default:d(()=>[a(`p`,null,f(c.$t(`settings.formatLocale.description`)),1),t(r(b),{modelValue:r(E),"onUpdate:modelValue":S[2]||=e=>p(E)?E.value=e:null,lazy:``},null,8,[`modelValue`]),a(`p`,null,[S[3]||=n(` Preview: `,-1),S[4]||=a(`br`,null,null,-1),n(f(r(_)(r(e)()))+` `,1),S[5]||=a(`br`,null,null,-1),n(f(r(y)(r(e)()))+` `,1),S[6]||=a(`br`,null,null,-1),n(f(r(v)(1234.56,r(M))),1)])]),_:1},8,[`title`])],64)):h(``,!0)],64))}});export{A as default};